package arrays

func StrToItr(value []string) []interface{} {
	r := make([]interface{}, len(value))
	for key, val := range value {
		r[key] = val
	}
	return r
}

func IntToItr(value []int) []interface{} {
	r := make([]interface{}, len(value))
	for key, val := range value {
		r[key] = val
	}
	return r
}

func Int64ToItr(value []int64) []interface{} {
	r := make([]interface{}, len(value))
	for key, val := range value {
		r[key] = val
	}
	return r
}

func Float64ToItr(value []float64) []interface{} {
	r := make([]interface{}, len(value))
	for key, val := range value {
		r[key] = val
	}
	return r
}
